﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>

<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/links.jsp"%>

<script type="text/javascript">


	var grid;
	$(function() {
		try {
			grid = $("#maingrid3").ligerGrid({
				columns : [ {
					display : '主键',
					name : 'id',
					id:"id1",
					align : 'right',
					width : 50,
					type : 'int'
				}, {
					display : 'nodeName',
					name : 'nodeName',
					minWidth : 100,
					align : 'right',
					type : 'string'

				}

				],
				url : "demoTreeGrid",

				root : "pageList",
				record : "total",
				pageParmName : "page",
				pagesizeParmName : "pagesize",
				sortnameParmName : "sortname",
				sortorderParmName : "sortorder",

				pageSize : 50,
				sortName : 'id',
				pageSizeOptions : [ 10, 20, 30, 40, 50, 100, 200 ],
				rownumbers : true,
				width : '100%',
				height : '100%'
				,				tree: { columnId: 'id1' }
			});
			$("#pageloading").hide();

		} catch (e) {
			alert(e.message);
		}
	});
</script>

</head>
<body style="padding: 3px; overflow: hidden;">
	<div class="l-loading" style="display: block" id="pageloading"></div>

	<!-- <div class="l-clear">说大声大声道</div> -->
	<div id="maingrid3" style="margin: 0; padding: 0"></div>
	<!-- <div style="display: none;"></div> -->
</body>
</html>
